* {
    margin: 0;
    padding: 0;
}
.w {
    width: 1200px;
    margin: auto;
}
body {
    background-color: #f3f5f7;
}
/* 头部 */
.header {
    height: 42px;
    margin: 30px auto;
}
.logo {
    float: left;
    width: 195px;
    height: 42px;
}
li {
     list-style: none;
}
a {
    text-decoration: none;
}
.nav {
    float: left;
    margin-left: 60px;
}
.nav>ul>li {
    float: left;
    margin: 0 15px;
}
.nav>ul>li>a {
    display: block;
    padding: 0 10px;
    height: 42px;
    line-height: 42px;
    font-size: 18px;
    color: #050505;
}
.nav>ul>li>a:hover {
    border-bottom: 2px solid #00a4ff;
    color: #00a4ff;
}
.search {
    float:left;
    width: 420px;
    margin-left: 50px;
}
.search input {
    float: left;
    width: 345px;
    height: 40px;
    border: 2px #00a4ff solid;
    border-right: none;
    font-size: 14px;
    color: #bfbfbf;
    padding-left: 15px;
}
.search>button {
    float: left;
    width: 50px;
    height: 44px;
    background-color: #00a4ff;
    border: none;
    
}
.user {
    float: right;
    font-size: 14px;
    color: #666;
    margin-right: 30px;
}
/* banner 部分 */
.banner {
    height: 420px;
    background-color: #1c036c;
}
.banner>div {
    width: 1200px;
    height: 420px;
    background-image: url(images/banner2.png);
}
.banner>div>.subnav {
    float: left;
    width: 190px;
    height: 420px;
    background: rgba(0,0,0,.3);
}
.banner>div>.subnav>ul>li {
    height: 44px;
    line-height: 44px;
    margin: 0 20px;
}
.banner>div>.subnav>ul>li>a{
    font-size: 14px;
    color: #e9e9ec;
    height: 44px;
    line-height: 44px;
}
.banner>div>.subnav>ul>li>a>span {
    float: right;
}

.banner>div>.subnav>ul>li>a:hover {
    color: #00a4ff;
}
.banner>div>.course {
    float: right;
    width: 230px;
    height: 300px;
    margin-top: 50px;
    background-color: #fff;
}
/* 我的课程表 */
.course h2 {
    height: 42px;
    font-size: 18px;
    line-height: 42px;
    text-align: center;
    color: #fff;
    background-color: #9bceea;
}
.bd>ul>li {
    padding: 14px 10px;
    margin: 0 10px;
    border-bottom: 1px solid #ccc;
}
.bd>ul>li>h4 {
    font-size: 16px;
    color: #4e4e4e;
}
.bd>ul>li>p {
    font-size: 12px;
    color: #a5a5a5;
}
.bd>a {
    display: block;
    height: 38px;
    border: 2px solid #00a4ff;
    line-height: 38px;
    text-align: center;
    margin: 5px 15px;
    color: #00a4ff;
    font-weight: 700px;
    font-size: 16px;
}
/* 推荐课程部分 */
.goods {
    height: 60px;
    /* border: 1px solid #00a4ff; */
    margin-top: 8px;
    box-shadow: 0px 2px 5px rgba(0,0,0,.3);
    /* 行高会继承 */
    line-height: 60px;
}
.goods>h3 {
    float: left;
    margin:0  25px;
    font-size: 16px;
    color: #00a4ff;
}
.goods>ul {
    float: left;
}
.goods>ul>li{
    float: left;
    
}
.goods>ul>li>a {
    padding: 0 30px;
    font-size: 16px;
    color: #050505;
    border-left: 1px #050505 solid;
}
.goods>a {
    float: right;
    margin-right: 25px;
    font-size: 14px;
    color: #00a4ff;
}
/* 精品推荐部分 */
.box {
    height: 600px;
    margin-top: 30px;
}
.box>.box-hd {
    height: 45px;
}
.box>.box-hd>h3 {
    float: left;
    font-size: 20px;
    color: #494949;
}
.box>.box-hd>a {
    float: right;
    font-size: 12px;
    color: #a5a5a5;
    margin-top: 10px;
    margin-right: 30px;
}
.box>.box-bd>ul {
    width: 1225px;
}
.box>.box-bd>ul>li {
    float: left;
    height: 270px;
    width: 228px;
    background-color: #fff;
    margin-right: 15px;
    margin-bottom: 15px;
}
.box>.box-bd>ul>li>img {
    width: 100%;
}
.box>.box-bd>ul>li>h4 {
    margin: 20px 20px 20px 25px;
    font-size: 14px;
    columns: #050505;
    font-weight: 400px;
}
.box>.box-bd .info {
    font-size: 12px;
    color: #999;
    margin: 0 25px;
}
.box>.box-bd .info>span {
    color: #ff7c2d;
}
/* footer */
.footer .left {
    width: 470px;
    margin: 25px 20px 15px 20px;
    float: left;
}
.footer .left p {
    padding: 25px 0;
    font-size: 12px;
    color: #666;
}
.footer .left a {
    display: block;
    width: 120px;
    height: 35px;
    border: 2px solid #00a4ff;
    line-height: 35px;
    text-align: center;
    font-size: 16px;
    color: #00a4ff;
}
.right dl {
    float: right;
    margin-left: 100px;
    margin-top: 25px;
}
.right dl dt {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
    
}
.right dl dd a {
    font-size: 12px;
    color: #333;
}